<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="coinfaces">

        <title>设置博客</title>

    <link rel="stylesheet" href="../../theme/css/style.css">
    <link rel="stylesheet" href="../../theme/css/pygments.css">



</head>

<body>
    <div class="content">
<h1>设置博客</h1>    <p>
        under
            <a href="../../tags/pelican/">pelican</a>
            <a href="../../tags/github/">github</a>
            <a href="../../tags/travis/">travis</a>
            <a href="../../tags/blog/">blog</a>
    </p>
    <p>
        in <a href="../../categories/tech/">tech</a>
    </p>
    <p>Published: 2016-01-15</p>


    <div class="section" id="pelican">
<h2>Pelican</h2>
<p><a class="reference external" href="http://docs.getpelican.com/">Pelican</a>是一个类似于<a class="reference external" href="http://jekyllrb.com/">Jekyll</a>（<a class="reference external" href="https://pages.github.com/">github pages</a>在用）的静态站点生成软件，其完全用<a class="reference external" href="https://www.python.org/">Python</a>实现（对于我来说这是件好事，因为不想同时学<a class="reference external" href="https://www.python.org/">Python</a>和<a class="reference external" href="https://www.ruby-lang.org/">Ruby</a>）。它支持<a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructedText</a>（<a class="reference external" href="https://www.python.org/">Python</a>社区广泛使用的轻量级文本标记语言）和<a class="reference external" href="https://daringfireball.net/projects/markdown/">Markdown</a>格式的内容，自带两种主题供没有前端设计经验的用户使用，无需安装插件就能处理文章的翻译。</p>
</div>
<div class="section" id="id3">
<h2>部署</h2>
<p>生成的站点被上传为一个独立的 <a class="reference external" href="https://pages.github.com/">github pages</a> 代码库，如果能在推送到github代码库时自动生成站点就更棒了，好在能用<a class="reference external" href="https://travis-ci.org/">Travis CI</a>实现这些功能，具体设置请看<a class="reference external" href="http://farseerfc.me/travis-push-to-github-pages-blog.html">farseerfc的文章</a>。</p>
<p>（完）</p>
</div>

    </div>
<nav class="nav sidebar">
    <div class="siteinfo">
        <div class="sitename"><a href="../..">coinfaces</a></div>
        <div class="tagline">Another Side of Life</div>
    </div>

        <a href="../../categories/">categories</a>
        <a href="../..">&larr; Home</a>
</nav><footer class="footer">
    <span>
        &copy; jpli &middot;
        under <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a>
    </span>
    |
    <span>
        Powered by:
        <a href="http://blog.getpelican.com/">Pelican</a>
    </span>
</footer></body>
</html>